package io.modifier.basic.core.log.pprint

import io.modifier.basic.core.log.pprint.pprint.PPrinter

fun pprint(
  value: Any?,
  defaultWidth: Int = 100,
  defaultHeight: Int = 500,
  defaultIndent: Int = 2,
  defaultEscapeUnicode: Boolean = false,
  defaultShowFieldNames: Boolean = true,
  showGenericForCollections: Boolean = true
) = PPrinter(
  defaultWidth,
  defaultHeight,
  defaultIndent,
  defaultEscapeUnicode,
  defaultShowFieldNames,
  showGenericForCollections
)(value)